export interface ITagProps {
  name: string | number;
  val: string;
}

/**
 * el-input 的props
 * 文档：https://element-plus.gitee.io/zh-CN/component/input.html
 */
export interface IInputProps {
  placeholder?: string;
}

/**
 * el-tree 的props
 * 文档：https://element-plus.gitee.io/zh-CN/component/tree.html
 */
export interface ITreeProps {
  defaultExpandAll?: boolean;
  nodeKey?: string;
  props?: {
    label: string;
    children: string;
  };
}

export interface ITreeItem {
  id: string;
  label: string;
  children?: ITreeItem[];
  tagCheck?: boolean;
}
